import { GetCategory } from "@/api/news.js";
const actions = {
    getCategoryInfo(content, requestData) {
        return new Promise((resolve, reject) => {
            //接口
            GetCategory({}).then(response => {
                resolve(response)
            }).catch(error => {
                reject(error)
            })
        })
    },
}
export default {
    //处理命名空间问题
    namespaced: true,
    actions
};